PATHMac OS 8 and 9 Developer Documentation > Human Interface Toolbox > Control Manager >

Programming With the Mac OS 8.5 Control Manager


Gestalt Selector for the Mac OS 8.5 Control Manager

Before calling any functions dependent upon the Control Manager, your application should pass the selector gestaltControlMgrAttr to the Gestalt function to determine which Control Manager functions are available.

enum {
    gestaltControlMgrAttr   = 'cntl',
    gestaltControlMgrPresent= (1L << 0)
};

Constant descriptions

gestaltControlMgrAttr
The Gestalt selector passed to determine what features of the Control Manager are present. This selector is available with Mac OS 8.5 and later. The Gestalt function produces a 32-bit value whose bits you should test to determine what Control Manager functionality is available.
gestaltControlMgrPresent
If the bit specified by this mask is set, the Control Manager functionality for Appearance Manager 1.1 is available. This bit is set for Mac OS 8.5 and later.

© 1999 Apple Computer, Inc. — (Last Updated 20 Jan 99)